Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make gcp_managed_network_config optional #1365

Merged
merged 2 commits into from
Jun 10, 2022

Conversation

marekbrysa
Copy link
Contributor

In #1360 we added the network_id parameter to GCPNetwork. If it is specified, gcp_managed_network_config is optional and ignored by the backend.

@@ -67,7 +67,7 @@ type GCPCommonNetworkConfig struct {

type GCPNetwork struct {
NetworkID string `json:"network_id,omitempty"`
GCPManagedNetworkConfig *GCPManagedNetworkConfig `json:"gcp_managed_network_config"`
GCPManagedNetworkConfig *GCPManagedNetworkConfig `json:"gcp_managed_network_config,omitempty"`
GCPCommonNetworkConfig *GCPCommonNetworkConfig `json:"gcp_common_network_config"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what about the other network? :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gcp_common_network_config is still required AFAIK.

@codecov
Copy link

codecov bot commented Jun 8, 2022

Codecov Report

❗ No coverage uploaded for pull request base (master@8260d90). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1365   +/-   ##
=========================================
  Coverage          ?   90.15%           
=========================================
  Files             ?      124           
  Lines             ?    10179           
  Branches          ?        0           
=========================================
  Hits              ?     9177           
  Misses            ?      638           
  Partials          ?      364           
Impacted Files Coverage Δ
mws/resource_workspace.go 90.26% <ø> (ø)

Copy link
Contributor

@nfx nfx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@nfx nfx merged commit ef3ea54 into databricks:master Jun 10, 2022
@nfx nfx mentioned this pull request Jun 16, 2022
michael-berk pushed a commit to michael-berk/terraform-provider-databricks that referenced this pull request Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants